package com.zhongshan.ga.mybatis.dao;

import java.util.ArrayList;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.zhongshan.ga.mybatis.bean.StrategyInfo;

/**
 * 访问攻略信息数据接口
 * @author yanqi
 *
 */
public interface IStrategyInfoDao {
	
	/***
	 * 查询攻略列表信息
	 * @param limitMap
	 * @return
	 */
	@Select("SELECT * FROM strategyInfo where isActivity = 1 ORDER BY orderNum LIMIT #{startIndex},#{endIndex}")
	ArrayList<StrategyInfo> getStrategyInfos(Map<String, Integer> limitMap);
}
